<!DOCTYPE HTML>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>金明黄金-后台管理</title>
    <link href="/ui/css/admin.css" type="text/css" rel="stylesheet" />
    <link href="/ui/dh/style.css" type="text/css" rel="stylesheet" />
  </head>
  <body>
    <div id="wrap">
      <?php include 'menu.php'; ?>
      <div id="main">
        <div class="headtitle">新闻中心</div>
<div id="menu">
	<ul>
		<li><a href="<?php echo site_url('admin/info/index?types=2');?>" <?php echo $type_name == '2' ? 'class="currents"' : '' ?>><span>外汇</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=3');?>" <?php echo $type_name == '3' ? 'class="currents"' : '' ?>><span>黄金</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=4');?>" <?php echo $type_name == '4' ? 'class="currents"' : '' ?>><span>白银</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=5');?>" <?php echo $type_name == '5' ? 'class="currents"' : '' ?>><span>日排行</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=6');?>" <?php echo $type_name == '6' ? 'class="currents"' : '' ?>><span>周排行</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=7');?>" <?php echo $type_name == '7' ? 'class="currents"' : '' ?>><span>月排行</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=8');?>" <?php echo $type_name == '8' ? 'class="currents"' : '' ?>><span>基础知识</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=9');?>" <?php echo $type_name == '9' ? 'class="currents"' : '' ?>><span>技术指标</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=10');?>" <?php echo $type_name == '10' ? 'class="currents"' : '' ?>><span>投资技巧</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=11');?>" <?php echo $type_name == '11' ? 'class="currents"' : '' ?>><span>常见问题</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=13');?>" <?php echo $type_name == '13' ? 'class="currents"' : '' ?>><span>每日策略</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=14');?>" <?php echo $type_name == '14' ? 'class="currents"' : '' ?>><span>每周策略</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=15');?>" <?php echo $type_name == '15' ? 'class="currents"' : '' ?>><span>每月策略</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=19');?>" <?php echo $type_name == '19' ? 'class="currents"' : '' ?>><span>首页热点</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=20');?>" <?php echo $type_name == '20' ? 'class="currents"' : '' ?>><span>国际贵金属动态</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=21');?>" <?php echo $type_name == '21' ? 'class="currents"' : '' ?>><span>金市评论</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=22');?>" <?php echo $type_name == '22' ? 'class="currents"' : '' ?>><span>国内贵金属动态</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=23');?>" <?php echo $type_name == '23' ? 'class="currents"' : '' ?>><span>金明商品</span></a></li>
		<li><a href="<?php echo site_url('admin/info/index?types=24');?>" <?php echo $type_name == '24' ? 'class="currents"' : '' ?>><span>金明团队</span></a></li>
		</ul>
</div>
        <div class="content">
         <table class="table">
        <thead>
          <tr>
			<th>ID</th>
            <th>标题</th>
			<th>编辑</th>
          </tr>
        </thead>
        <tbody>
          <?php foreach ($list as $row) { ?>
          <tr>
            <td><?php echo $row->id ?></td>
            <td><?php echo $row->title ?></td>
            <td><a href="<?php echo site_url('admin/edit/index?id='.$row->id);?>" >编辑</a>|<a href="<?php echo site_url('admin/edit/delete?id='.$row->id);?>" >删除</a></td>
          </tr>
          <?php } ?>
        </tbody>
      </table>
      <div class="pagination">
        <?php echo $page ?></div>
    </div>
        </div>
      </div>
    </div>
  </body>
</html>